package com.qcby.form;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TLifeInfoForm {
    @NotBlank(message = "标题不能为空")
    private String title;
    
    @NotBlank(message = "内容不能为空")
    private String content;
    
    @NotNull(message = "资讯类型不能为空")
    private Integer type;
    
    private String coverImage;
    
    private String attachments;
    
    private String remark;
    
    private String summary;
    
    private Integer sort;
} 